This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal



Jun 23, 2011, 9:07 AM
3 Posts

Cannot Preview in Notes

  • Category: Other
  • Platform: Windows
  • Release: 8.5.1
  • Role: Developer
  • Tags:
  • Replies: 4
Hello
 
I have created a very simple XPage displaying only text. I can preview this fine in a web browser (IE), but when trying to preview in the Notes client I get an error message - 404 Exception : Page Not Found : Error opening database / cannot find path to server. The database is located on a test server, so I'm not trying to preview locally. Can anybody point me in the right direction to resolve this?
 
Many thanks. 
Jun 24, 2011, 6:18 PM
66 Posts
Re: Cannot Preview in Notes
 Here is IBM's guide for troubleshooting 404 errors. Not sure if any of these pertain to you:
 
Error 404 - Item Not Found Exception

1. Be sure that you are using the correct URL for the XPage, including the .xsp extension. For example, if you are trying to access an XPage named "myxpage" in an application named myapp.nsf on a server with the URL, http: //myserver.mydomain.com, then the URL to access the XPage would be as follows:
http: //myserver.mydomain.com/myapp.nsf/myxpage.xsp

2. If you are using the correct URL but still receive a 404 error when accessing a specific XPage, the XPage may not have been built automatically by Domino Designer. Refer to Document #1327454, HTTP 404 Errors when accessing a new XPage from a web browser," for more information on configuring the "Build Automatically" option in Domino Designer.

3. Removing the $WebHybridDb item from the icon document has been reported to resolve this error in some instances. For more information on this item, and others in the icon document, refer to the following wiki article: Lotus iNotes: How to enable a custom Forms database.
Jun 27, 2011, 7:56 AM
3 Posts
Re: Cannot Preview in Notes
Thanks for the help - will take a look at the suggestions.
Jun 30, 2011, 8:48 PM
8 Posts
Re: Cannot Preview in Notes
 I experienced the same thing today. I resolved my error by looking at the Log & Trace viewer (Help / Support / View Log) which shows you the Eclipse log. When displaying a page using XPiNC, regardless of whether the database is on the server, the local client is where the page gets built. Errors get written to this log for local Eclipse processing.
 
My specific problem pertained to the display of an XPiNC and having the local rendering engine display as such, instead of as a web page. What I ended up doing was setting the database launch properties to load my XPage by default. It isn't as convenient as the Preview in Notes icon, but it worked!
 
Good luck! 
Jul 6, 2011, 1:38 PM
3 Posts
Re: Cannot Preview in Notes
Thanks for the reply. I have found the same - still can't 'preview in Notes', but when I set the client launch properties to open to the XPage, it loads fine.

This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal